using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace rocketjump
{
    public class Camera
    {
        private Vector2 m_position = new Vector2(400,240);
        public float zoom = 1;
        public Vector2 viewPort = new Vector2(800,480);
        public Vector2 Position
        {
            get { return m_position; }
            set {
                m_position = value;
                m_position.X = Math.Max(400, m_position.X);
                m_position.Y = Math.Min(240, m_position.Y);
            }
        }
    }
}
